#define WIN32_LEAN_AND_MEAN
#define INITGUID
#define DIRECTINPUT_VERSION 0x0800
#define _CRT_SECURE_NO_WARNINGS

#pragma once

#include <Windows.h>
#include <WinUser.h>
#include <string>
#include <d3d9.h>
#include <d3dx9.h>
#include <dinput.h>
#include <list>
#include <time.h>

#define SCREEN_WIDTH	800
#define SCREEN_HEIGHT	600
#define APP_TITLE		"Game Hung Trung"
// macro to read the keyboard asynchronously
#define KEY_DOWN(vk_code) ((GetAsyncKeyState(vk_code) & 0x8000) ? 1 : 0)
#define KEY_UP	(vk_code) ((GetAsyncKeyState(vk_code) & 0x8000) ? 1 : 0)

using namespace std;
